//
//  ViewController.swift
//  SwiftNetwork
//
//  Created by 万孟超 on 2022/1/11.
//

import UIKit
import Alamofire

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view.
        let request = NetworkBaseRequest.init()
        request.methodUrl = "https://api.apiopen.top/todayVideo"
        request.method = "searchVideio"
        BusiNetworkManager.queryData(target: self, request: request) { result in
            print("请求搞定")
        } errorBlock: { error in
            print("失败")
        }
    }
    
}

